@import "../../public/style/pxtorem";

.my-carousel {
  position: relative;
  width: 100%;
  padding: 0 pxToRem(12);
  height: pxToRem(110);
  box-sizing: border-box;
  overflow: hidden;
}

.carousel-item-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;

  .carousel-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    & img {
      width: 100%;
      height: 100%;
    }
  }
}

.carousel-button-wrap {
  position: absolute;
  height: pxToRem(10);
  line-height: pxToRem(8);
  border-radius: pxToRem(5);
  background-color: rgba(0, 0, 0, 0.5);
  bottom: pxToRem(3);
  padding: 0 pxToRem(7.5);
  left: 50%;
  transform: translateX(-50%);

  .carousel-button {
    display: inline-block;
    width: pxToRem(5);
    height: pxToRem(5);
    margin: pxToRem(2.5);
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;

    &.selected {
      background-color: #de698c;
    }
  }
}

